/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package acciones;

import dao.Factoria;
import dao.InterfazFormatos;
import java.awt.event.ActionEvent;
import java.io.File;
import javax.swing.AbstractAction;
import javax.swing.JFileChooser;
import ui.Experimento;

/**
 *
 * @author juanan
 */
public class AccionAbrirBBDD extends AbstractAction{
        Factoria factory;
    private Experimento experimento;
            public AccionAbrirBBDD(Experimento experimento) {
            this.experimento = experimento;
        }

        @Override
        public void actionPerformed(ActionEvent ae) {

  InterfazFormatos inFor = Factoria.getInterfazFormatos(
                        Factoria.BBDD);
                inFor.abrir("a",experimento);
            
        }
}
